<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .box {
            /* 占满视口的宽度 */
            width: 100vw;
            /* 占满视口的高度 */
            height: 100vh;
            background: orange;
        }
        .top {
            width: 5.2vw;
            height: 9.26vh;
            background: red;
            margin-left: 2.6vw;
        }
        .bottom {
            width: 5.2vw;
            height: 9.26vh;
            background: skyblue;
            margin-top: 9.26vh;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="top"></div>
        <div class="bottom"></div>
    </div>
</body>
</html>
